//验证ajax传入参数
module.exports = function(params,rules) {
	let check = !0,msg = '';
	for(let key in rules){
		if(!params[key]){
			msg = rules[key];
			check = !1;
		}
	}
	return {check,msg}
}
